Ext.define('DCApp.view.etask.Detail', {
extend: 'DCApp.view.Detail',
alias: 'widget.ETaskdetail',

bind: {
title: '用户 - 【{theObj.id}】'
},

componentCls: 'etask-detail',
bodyPadding: 0,

controller: 'detail',

afterRender: function(ct, position) {
this.callParent();
},
items: [{
title: 'Panel 0',
flex: 2,
frame: false,
xtype: 'container',
layout: 'anchor',
style: {
overflow: 'auto'
},

items: [
{
title : '详情',
margin : '0 0 10 0',
cls : 'nav_pos',
reference : 'form',
bodyPadding : 10,
fieldDefaults : {
labelAlign : 'right',
labelWidth : 100,
padding : 3
},
defaults : {
anchor : '100%'
},
xtype: 'form',
items: [

{
	xtype: 'container',
	layout: 'hbox',
	defaultType: 'textfield',
	items:[
	{
	flex: 1,
	fieldLabel: 'description',
	bind: '{theObj.description}'
	},	{
	flex: 1,
	fieldLabel: 'title',
	bind: '{theObj.title}'
	}	]
},
{
	xtype: 'container',
	layout: 'hbox',
	defaultType: 'textfield',
	items:[
	{
	flex: 1,
	fieldLabel: 'uid',
	bind: '{theObj.uid}'
	}	]
}]}]
 }]
});